package com.aplink.generic.pojo;

import java.util.ArrayList;
import java.util.Hashtable;

public class RecordInfo {
	private ArrayList<Hashtable<String, String>> mRecords;
	private String mTableName;

	public RecordInfo() {
		this.mRecords = new ArrayList<Hashtable<String, String>>();
	}

	public void addRecord(final Hashtable<String, String> newRecord) {
		if (this.mRecords != null) {
			this.mRecords.add(newRecord);
		}
	}

	public ArrayList<Hashtable<String, String>> getmRecordList() {
		return this.mRecords;
	}

	public String getmTableName() {
		return this.mTableName;
	}

	public void setmRecordList(
	        final ArrayList<Hashtable<String, String>> mRecordList) {
		this.mRecords = mRecordList;
	}

	public void setmTableName(final String mTableName) {
		this.mTableName = mTableName;
	}
}
